<script setup lang="js">

const {content,num}=defineProps(['content','num'])

</script>

<template>
  <el-popover :placement="'top-start'">
    <template #reference>
      <div style="display: flex;align-items: center;justify-content: space-between;width:28px">
        <slot>
        </slot>
        <span>{{num}}
        </span>
      </div>
    </template>

    <template #default>
      {{content}}
    </template>
  </el-popover>
</template>

<style scoped>

</style>